function Sky() {
  this.y = 0;
  this.mx = 0;
}

Sky.prototype.draw = function( context ) {
  context.save();
  
  var gradient = context.createLinearGradient( 0, this.y, 0, 0 );

  gradient.addColorStop( 0, "#8795FA" );
  gradient.addColorStop( 1, "#1E1AF9" );

  context.fillStyle = gradient;
  context.fillRect( 0, 0, this.mx, this.y );
  
  context.restore();
};
